/* 
 * File:   cIplCamera.h
 * Author: lrm
 *
 * Created on September 20, 2010, 5:34 PM
 */

#ifndef _CIPLCAMERA_H_
#define	_CIPLCAMERA_H_

#include "cCamera.h"
#include "cSTOCStereo.h"

class cIplCamera : public cCamera
{
    int resH, resV; 
	bool isColor;
	
    cSTOCStereo * cam;
	
    void onExit(wxCommandEvent& event);
    void onClose(wxCloseEvent& event);
    void onStartCamera(wxCommandEvent& event);
    void onSaveVideo( wxCommandEvent& event );
    void onScreenshot( wxCommandEvent& event );
    void onStereoRadioBox( wxCommandEvent& event );
    void onCalculateStereo( wxCommandEvent& event );
    void onResolution( wxCommandEvent& event );

public:

    cIplCamera(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Camera"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1, -1), long style = wxDEFAULT_FRAME_STYLE | wxTAB_TRAVERSAL);
};

#endif	/* CIPLCAMERA_H */

